﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BT_web__nhom06
{
    public partial class QuanLyTaiKhoan : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack == false)
            {
                DataTable tbl = Tienichsql.ketnoicsdl.ChayLenhSelectDuLieu("SELECT [Username], MaHS, Locked, Quyen  FROM [User] ");
                
                gvTaiKhoan.DataSource = tbl;
                gvTaiKhoan.DataBind();
               
            }

        }

    }
}